package com.student.liu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * 商品 实体类
 */
@Data
public class Goods implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer typeId;
    private String name;
    private String image;
    private Integer state;
    private Integer price;
    private Integer cookId;
    private String introduce;
    private LocalDate expiration;
}
